home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7745 < prev    next >
Encoding:
Text File  |  1996-08-05  |  828 b   |  27 lines

  1. Newsgroups: comp.lang.c
  2. Path: netcom.com!scheller
  3. From: scheller@netcom.com (Mark J. Scheller)
  4. Subject: F-keys/cursor keys w/curses?
  5. Message-ID: <schellerDnHwLr.FJ9@netcom.com>
  6. Summary: input function keys/cursor keys
  7. Keywords: function, cursor, curses, input
  8. Organization: Organize This!, Inc.
  9. X-Newsreader: TIN [version 1.2 PL2]
  10. Date: Wed, 28 Feb 1996 17:01:03 GMT
  11. Sender: scheller@netcom7.netcom.com
  12.  
  13. I'm making an attempt at coding some simple text screens using curses.  One
  14. thing I would like to do is take action based on the user pressing a cursor
  15. key or a function key.
  16.  
  17. I'm using getch() to grab the keypresses -- the problem is that the cursor
  18. keys and the function keys return multiple key sequences for a keypress.
  19. Is there something better to use?
  20.  
  21. This is on an HP, hpux 9.03.
  22.  
  23. tia,
  24.  
  25. -- 
  26. mS (scheller@netcom.com)
  27.